'use strict';
const db = uniCloud.database()
const coll = db.collection('kaiguan')
exports.main = async (event, context) => {
	let res = await coll.where({
		_id: 'b751f28065af72790838fc190f8961c7'
	}).update({
		kaiguan: Number(event.kaiguan)
	})
	return res
};